package com.design.FactoryMode.mode4;

import com.design.FactoryMode.demo.SmsService;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class RegisterServiceFactory implements ISmsCheckFactory {

    @Override
    public SmsService createSmsInstance() {
        return new com.design.FactoryMode.demo.RegisterServiceImpl();
    }

    @Override
    public SmsUserTypeService createSmsUserTypeInstance() {
        return new RegisterServiceImpl();
    }
}
